/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package mainGUI.Contact;

import java.awt.LayoutManager;
import java.awt.LayoutManager2;
import javax.swing.BoxLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SpringLayout;

/**
 *
 * @author rbs
 */
public class ContactPanel extends JPanel{

    private JLabel text, name, mail, icq, website;

    public ContactPanel() {
        setName("Kontakt");
        JPanel listpanel = new JPanel();
        listpanel.setLayout(new BoxLayout(listpanel, BoxLayout.PAGE_AXIS));
        text = new JLabel("Wenn Fragen auftauchen, oder Fehler entdeckt "
                + "wurden bin ich unter folgenden Kontaktmöglcihkeiten erreichbar:");
        name = new JLabel("Name:   Robert Schönherr");
        mail = new JLabel("E-Mail: rbs@informatik.tu-chemnitz.de");
        icq  = new JLabel("ICQ: ");
        website = new JLabel("tu-chemnitz.de/~rbs");

        listpanel.add(text);
        listpanel.add(name);
        listpanel.add(mail);
        listpanel.add(icq);
        listpanel.add(website);

        add(listpanel);
        


    }


}
